Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007738/0.0007738, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008291/0.0008291, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8529/0.8529, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.628/1.628, allocations: 377.9 MB / 0.6221 GB, free: 8.629 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 3.938 kB / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.588e-05, allocations: 5.234 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003851/0.003867, allocations: 4.56 MB / 0.9854 GB, free: 14 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002576/0.006443, allocations: 2.389 MB / 0.9878 GB, free: 11.6 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002566/0.006699, allocations: 39.62 kB / 0.9878 GB, free: 11.56 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006838/0.007383, allocations: 401.8 kB / 0.9882 GB, free: 11.16 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006771/0.00806, allocations: 485.1 kB / 0.9886 GB, free: 10.69 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.008594, allocations: 384.3 kB / 0.989 GB, free: 10.31 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0007399/0.009334, allocations: 0.9408 MB / 0.9899 GB, free: 9.367 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004233/0.009758, allocations: 322.4 kB / 0.9902 GB, free: 9.047 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005834/0.01034, allocations: 482.7 kB / 0.9907 GB, free: 8.574 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003474/0.01069, allocations: 311 kB / 0.991 GB, free: 8.27 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.05e-05/0.01073, allocations: 36 kB / 0.991 GB, free: 8.234 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003996/0.01113, allocations: 363 kB / 0.9914 GB, free: 7.879 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.01126, allocations: 199.3 kB / 0.9916 GB, free: 7.684 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004494/0.01171, allocations: 211.4 kB / 0.9918 GB, free: 7.477 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007306/0.01244, allocations: 0.9071 MB / 0.9926 GB, free: 6.566 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.01244, allocations: 0 / 0.9926 GB, free: 6.566 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.252e-06/0.01244, allocations: 0 / 0.9926 GB, free: 6.566 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.01245, allocations: 0 / 0.9926 GB, free: 6.566 MB / 0.948 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.0009029/0.01335, allocations: 0.8766 MB / 0.9935 GB, free: 5.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.01339, allocations: 12.03 kB / 0.9935 GB, free: 5.648 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.762e-05/0.01346, allocations: 90.69 kB / 0.9936 GB, free: 5.551 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006545/0.01411, allocations: 216.2 kB / 0.9938 GB, free: 5.34 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005982/0.01471, allocations: 472.1 kB / 0.9943 GB, free: 4.855 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.01473, allocations: 37.36 kB / 0.9943 GB, free: 4.82 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.01478, allocations: 52.34 kB / 0.9943 GB, free: 4.77 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000692/0.01547, allocations: 0.9705 MB / 0.9953 GB, free: 3.633 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.01549, allocations: 8.125 kB / 0.9953 GB, free: 3.625 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.01552, allocations: 28.06 kB / 0.9953 GB, free: 3.598 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.609e-05/0.01558, allocations: 64.95 kB / 0.9954 GB, free: 3.531 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005116/0.01609, allocations: 0.5616 MB / 0.9959 GB, free: 2.973 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002526/0.01861, allocations: 4.704 MB / 1.001 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/0.019, allocations: 426.2 kB / 1.001 GB, free: 13.64 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.01919, allocations: 204.7 kB / 1.001 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.01921, allocations: 4 kB / 1.001 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.01922, allocations: 38.56 kB / 1.001 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=32): time 1.392e-06/0.01922, allocations: 0 / 1.001 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33): time 0.001366/0.02059, allocations: 1.137 MB / 1.002 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.02062, allocations: 59.62 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.02093, allocations: 0.4989 MB / 1.003 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.02095, allocations: 29.7 kB / 1.003 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.0211, allocations: 371.7 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.259e-05/0.02116, allocations: 123 kB / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-05/0.02125, allocations: 106.2 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.931e-05/0.02135, allocations: 362.8 kB / 1.004 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.02153, allocations: 197.2 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.02181, allocations: 451 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006276/0.02244, allocations: 0.6882 MB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.02244, allocations: 8 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007281/0.02317, allocations: 0.8053 MB / 1.006 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.02319, allocations: 8 kB / 1.006 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.0232, allocations: 8 kB / 1.006 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002957/0.0235, allocations: 160.9 kB / 1.006 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.02374, allocations: 119.8 kB / 1.006 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/0.02558, allocations: 4.022 MB / 1.01 GB, free: 3.594 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.02575, allocations: 35.95 kB / 1.01 GB, free: 3.559 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.02577, allocations: 32 kB / 1.01 GB, free: 3.527 MB / 0.9636 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.0001688/0.02594, allocations: 221.8 kB / 1.01 GB, free: 3.301 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.02599, allocations: 59.62 kB / 1.01 GB, free: 3.242 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005751/0.02656, allocations: 0.5971 MB / 1.011 GB, free: 2.621 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.02657, allocations: 4 kB / 1.011 GB, free: 2.617 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.02657, allocations: 3.938 kB / 1.011 GB, free: 2.613 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.02657, allocations: 0 / 1.011 GB, free: 2.613 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.02767, allocations: 1.184 MB / 1.012 GB, free: 1.344 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.02768, allocations: 4 kB / 1.012 GB, free: 1.34 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.02779, allocations: 51.95 kB / 1.012 GB, free: 1.289 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002042/0.028, allocations: 144.1 kB / 1.012 GB, free: 1.133 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.02801, allocations: 12.22 kB / 1.012 GB, free: 1.121 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/0.02964, allocations: 4.023 MB / 1.016 GB, free: 12.75 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.02964, allocations: 4.031 kB / 1.016 GB, free: 12.75 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005707/0.03021, allocations: 0.7039 MB / 1.017 GB, free: 11.99 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.03032, allocations: 95.47 kB / 1.017 GB, free: 11.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.03034, allocations: 8 kB / 1.017 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.03047, allocations: 24.12 kB / 1.017 GB, free: 11.87 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.03052, allocations: 35.95 kB / 1.017 GB, free: 11.83 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.03053, allocations: 8 kB / 1.017 GB, free: 11.82 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002085/0.03074, allocations: 338.8 kB / 1.017 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.03074, allocations: 0 / 1.017 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003667/0.0311, allocations: 140 kB / 1.018 GB, free: 11.36 MB / 0.9792 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.0008113/0.03191, allocations: 1.258 MB / 1.019 GB, free: 10.04 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0007425/0.03266, allocations: 0.8588 MB / 1.02 GB, free: 9.137 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.03266, allocations: 0 / 1.02 GB, free: 9.137 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003725/0.03303, allocations: 0.5691 MB / 1.02 GB, free: 8.523 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.03357, allocations: 208.9 kB / 1.02 GB, free: 8.324 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003838/0.03741, allocations: 5.095 MB / 1.025 GB, free: 2.84 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.03759, allocations: 307.6 kB / 1.026 GB, free: 2.512 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001912/0.03778, allocations: 113.3 kB / 1.026 GB, free: 2.398 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.03794, allocations: 196.4 kB / 1.026 GB, free: 2.207 MB / 0.9792 GB Notification: Performance of SimCode: time 6.51e-07/0.03794, allocations: 0 / 1.026 GB, free: 2.207 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.06445, allocations: 14.26 MB / 1.04 GB, free: 4.348 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.923/6.988, allocations: 6.297 kB / 1.04 GB, free: 4.344 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.113401115871966]