Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 107.4 kB / 15.22 MB, free: 0.6562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 198.2 kB / 16.14 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.145/2.145, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6579/0.6592, allocations: 140.4 MB / 0.9491 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005372/0.6647, allocations: 4.869 MB / 0.9538 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003721/0.6684, allocations: 2.474 MB / 0.9562 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000648/0.6691, allocations: 22.38 kB / 0.9562 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.6703, allocations: 364.6 kB / 0.9566 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.6715, allocations: 412.3 kB / 0.957 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008958/0.6724, allocations: 343.2 kB / 0.9573 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00106/0.6735, allocations: 1.131 MB / 0.9584 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005669/0.674, allocations: 346.4 kB / 0.9587 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003989/0.6744, allocations: 301.1 kB / 0.959 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004249/0.6749, allocations: 342.7 kB / 0.9594 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.197e-05/0.6749, allocations: 29.22 kB / 0.9594 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008574/0.6758, allocations: 0.4931 MB / 0.9599 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.676, allocations: 175.3 kB / 0.96 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.6763, allocations: 298.4 kB / 0.9603 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007853/0.6771, allocations: 0.8912 MB / 0.9612 GB, free: 200 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6771, allocations: 0 / 0.9612 GB, free: 200 kB / 0.7169 GB Notification: Performance of FrontEnd: time 8.01e-07/0.6771, allocations: 0 / 0.9612 GB, free: 200 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.6771, allocations: 1.125 kB / 0.9612 GB, free: 200 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001332/0.6784, allocations: 0.9407 MB / 0.9621 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.6785, allocations: 10.25 kB / 0.9621 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001097/0.6786, allocations: 93.16 kB / 0.9622 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.6798, allocations: 203.2 kB / 0.9624 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006508/0.6805, allocations: 498.8 kB / 0.9629 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.6805, allocations: 34.77 kB / 0.9629 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.56e-05/0.6806, allocations: 41.78 kB / 0.963 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.6818, allocations: 0.8467 MB / 0.9638 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.6818, allocations: 8.281 kB / 0.9638 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/0.6818, allocations: 23.45 kB / 0.9638 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.682, allocations: 70.48 kB / 0.9639 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008873/0.6829, allocations: 0.5721 MB / 0.9644 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004324/0.6872, allocations: 5.651 MB / 0.97 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/0.6879, allocations: 462.7 kB / 0.9704 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003593/0.6882, allocations: 232 kB / 0.9706 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.6883, allocations: 3.281 kB / 0.9706 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.6883, allocations: 32.91 kB / 0.9707 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 2.064e-06/0.6883, allocations: 0 / 0.9707 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002604/0.6909, allocations: 1.505 MB / 0.9721 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.691, allocations: 54.72 kB / 0.9722 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005179/0.6915, allocations: 0.4962 MB / 0.9727 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.6916, allocations: 31.17 kB / 0.9727 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.6918, allocations: 351.4 kB / 0.973 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.645e-05/0.6919, allocations: 123.1 kB / 0.9731 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.6921, allocations: 107.3 kB / 0.9732 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.6922, allocations: 367.1 kB / 0.9736 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.6925, allocations: 193.6 kB / 0.9738 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004866/0.693, allocations: 449.2 kB / 0.9742 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008502/0.6939, allocations: 0.6973 MB / 0.9749 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.6939, allocations: 2.469 kB / 0.9749 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001356/0.6953, allocations: 0.8004 MB / 0.9757 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.6953, allocations: 9.625 kB / 0.9757 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.6953, allocations: 9.5 kB / 0.9757 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005203/0.6958, allocations: 157 kB / 0.9758 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/0.6963, allocations: 123.5 kB / 0.976 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003238/0.6996, allocations: 4.036 MB / 0.9799 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.7, allocations: 32.91 kB / 0.9799 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/0.7001, allocations: 28.03 kB / 0.98 GB, free: 15.76 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003218/0.7004, allocations: 219.5 kB / 0.9802 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.385e-05/0.7005, allocations: 60.56 kB / 0.9802 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.7016, allocations: 0.6016 MB / 0.9808 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.84e-06/0.7016, allocations: 3.875 kB / 0.9808 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.7016, allocations: 9.312 kB / 0.9808 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.7016, allocations: 1.188 kB / 0.9808 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.7036, allocations: 1.261 MB / 0.9821 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.7036, allocations: 1.594 kB / 0.9821 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.7038, allocations: 51.3 kB / 0.9821 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004251/0.7043, allocations: 148.1 kB / 0.9822 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.7043, allocations: 7.5 kB / 0.9823 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002929/0.7072, allocations: 4.025 MB / 0.9862 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.7073, allocations: 3.938 kB / 0.9862 GB, free: 10 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.7083, allocations: 0.7009 MB / 0.9869 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.7085, allocations: 172.2 kB / 0.987 GB, free: 9.062 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.849e-05/0.7086, allocations: 11.94 kB / 0.9871 GB, free: 9.051 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.7089, allocations: 19.97 kB / 0.9871 GB, free: 9.031 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/0.7089, allocations: 35.95 kB / 0.9871 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.709, allocations: 8 kB / 0.9871 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003552/0.7093, allocations: 334.8 kB / 0.9874 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7093, allocations: 0 / 0.9874 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006792/0.71, allocations: 144 kB / 0.9876 GB, free: 8.523 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001221/0.7113, allocations: 1.257 MB / 0.9888 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001353/0.7126, allocations: 1.037 MB / 0.9898 GB, free: 6.086 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.7126, allocations: 4.125 kB / 0.9898 GB, free: 6.082 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007716/0.7134, allocations: 0.7304 MB / 0.9905 GB, free: 5.27 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009488/0.7144, allocations: 192.4 kB / 0.9907 GB, free: 5.086 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00642/0.7208, allocations: 5.4 MB / 0.996 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.7213, allocations: 0.9058 MB / 0.9969 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000362/0.7216, allocations: 113.3 kB / 0.997 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.7219, allocations: 195.4 kB / 0.9972 GB, free: 14.06 MB / 0.7637 GB Notification: Performance of SimCode: time 3.41e-07/0.7219, allocations: 3.938 kB / 0.9972 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05081/0.7727, allocations: 12.16 MB / 1.009 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000253/0.773, allocations: 232 kB / 1.009 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.598, allocations: 0 / 1.009 GB, free: 1.898 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches