Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.001622/0.001622, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001983/0.001983, allocations: 213.2 kB / 22.25 MB, free: 4.855 MB / 14.72 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 1.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.304/3.304, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.VariableImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 72.91 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3703, allocations: 181.9 MB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006157/0.3764, allocations: 3.625 MB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003418/0.3798, allocations: 1.758 MB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003619/0.3802, allocations: 23.75 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.3812, allocations: 270.7 kB / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0008873/0.3821, allocations: 314.4 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007026/0.3828, allocations: 250.8 kB / 1.369 GB, free: 7.777 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008948/0.3837, allocations: 0.6091 MB / 1.37 GB, free: 7.164 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004909/0.3842, allocations: 238.8 kB / 1.37 GB, free: 6.926 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005468/0.3847, allocations: 247.1 kB / 1.371 GB, free: 6.684 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004594/0.3852, allocations: 234.9 kB / 1.371 GB, free: 6.453 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.175e-05/0.3853, allocations: 24 kB / 1.371 GB, free: 6.43 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005203/0.3858, allocations: 243.4 kB / 1.371 GB, free: 6.191 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.386, allocations: 127.6 kB / 1.371 GB, free: 6.066 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.3862, allocations: 171.1 kB / 1.371 GB, free: 5.898 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008431/0.3871, allocations: 0.5914 MB / 1.372 GB, free: 5.305 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.3871, allocations: 11.86 kB / 1.372 GB, free: 5.293 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3871, allocations: 0 / 1.372 GB, free: 5.293 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.089e-05/0.3871, allocations: 0 / 1.372 GB, free: 5.293 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001423/0.3885, allocations: 0.6681 MB / 1.373 GB, free: 4.594 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.3886, allocations: 16.03 kB / 1.373 GB, free: 4.578 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.934e-05/0.3887, allocations: 74.72 kB / 1.373 GB, free: 4.496 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009727/0.3896, allocations: 136.5 kB / 1.373 GB, free: 4.363 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006963/0.3903, allocations: 341.3 kB / 1.373 GB, free: 4.008 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.3903, allocations: 21.03 kB / 1.373 GB, free: 3.988 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.02e-05/0.3904, allocations: 32.36 kB / 1.373 GB, free: 3.957 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009803/0.3914, allocations: 0.6339 MB / 1.374 GB, free: 3.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.3914, allocations: 0 / 1.374 GB, free: 3.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.278e-05/0.3915, allocations: 19.98 kB / 1.374 GB, free: 3.211 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.165e-05/0.3915, allocations: 40.62 kB / 1.374 GB, free: 3.172 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007923/0.3923, allocations: 406.1 kB / 1.374 GB, free: 2.773 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003132/0.3955, allocations: 2.752 MB / 1.377 GB, free: 15.89 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007036/0.3962, allocations: 314.5 kB / 1.377 GB, free: 15.58 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.3965, allocations: 160.8 kB / 1.377 GB, free: 15.42 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.3965, allocations: 7.938 kB / 1.377 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.3965, allocations: 34.56 kB / 1.377 GB, free: 15.37 MB / 1.076 GB Notification: Performance of pre-optimization done (n=26): time 1.823e-06/0.3965, allocations: 0 / 1.377 GB, free: 15.37 MB / 1.076 GB Notification: Performance of matching and sorting (n=27): time 0.002123/0.3987, allocations: 0.8433 MB / 1.378 GB, free: 14.51 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.3987, allocations: 51.64 kB / 1.378 GB, free: 14.45 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/0.3991, allocations: 349.5 kB / 1.379 GB, free: 14.09 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.3991, allocations: 29.7 kB / 1.379 GB, free: 14.06 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.3993, allocations: 256.1 kB / 1.379 GB, free: 13.8 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.944e-05/0.3994, allocations: 99.11 kB / 1.379 GB, free: 13.71 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.3996, allocations: 74.09 kB / 1.379 GB, free: 13.63 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3997, allocations: 350.8 kB / 1.379 GB, free: 13.28 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.4, allocations: 148.7 kB / 1.379 GB, free: 13.13 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/0.4004, allocations: 298.5 kB / 1.38 GB, free: 12.78 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007339/0.4012, allocations: 478.3 kB / 1.38 GB, free: 12.25 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.4012, allocations: 4 kB / 1.38 GB, free: 12.24 MB / 1.076 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001067/0.4023, allocations: 0.5621 MB / 1.381 GB, free: 11.66 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.4023, allocations: 8 kB / 1.381 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.4023, allocations: 4 kB / 1.381 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003258/0.4026, allocations: 86.45 kB / 1.381 GB, free: 11.56 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.403, allocations: 88.38 kB / 1.381 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.403, allocations: 23.81 kB / 1.381 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.4033, allocations: 27.97 kB / 1.381 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.4033, allocations: 16 kB / 1.381 GB, free: 11.41 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000216/0.4035, allocations: 178.4 kB / 1.381 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.476e-05/0.4036, allocations: 39.77 kB / 1.381 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009338/0.4045, allocations: 460.1 kB / 1.382 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.4045, allocations: 4 kB / 1.382 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.4045, allocations: 7.938 kB / 1.382 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.4045, allocations: 3.984 kB / 1.382 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.4061, allocations: 0.8977 MB / 1.383 GB, free: 9.734 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.4061, allocations: 3.984 kB / 1.383 GB, free: 9.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.4064, allocations: 47.97 kB / 1.383 GB, free: 9.684 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002556/0.4066, allocations: 86.53 kB / 1.383 GB, free: 9.59 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.4066, allocations: 12 kB / 1.383 GB, free: 9.578 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.343e-06/0.4066, allocations: 4 kB / 1.383 GB, free: 9.574 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4066, allocations: 0 / 1.383 GB, free: 9.574 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009269/0.4076, allocations: 0.5392 MB / 1.383 GB, free: 9 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.4077, allocations: 63.69 kB / 1.383 GB, free: 8.938 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/0.4078, allocations: 8 kB / 1.383 GB, free: 8.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.408, allocations: 27.91 kB / 1.383 GB, free: 8.902 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.782e-05/0.4081, allocations: 27.89 kB / 1.383 GB, free: 8.875 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.4081, allocations: 8 kB / 1.383 GB, free: 8.867 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002521/0.4084, allocations: 235.2 kB / 1.384 GB, free: 8.641 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.4084, allocations: 0 / 1.384 GB, free: 8.641 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004271/0.4088, allocations: 84 kB / 1.384 GB, free: 8.559 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001245/0.41, allocations: 1.097 MB / 1.385 GB, free: 7.414 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008868/0.4109, allocations: 399.4 kB / 1.385 GB, free: 7.016 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4109, allocations: 3.938 kB / 1.385 GB, free: 7.012 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004095/0.4113, allocations: 190.7 kB / 1.385 GB, free: 6.816 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000739/0.4121, allocations: 131.6 kB / 1.385 GB, free: 6.688 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005286/0.4174, allocations: 3.724 MB / 1.389 GB, free: 2.73 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.4176, allocations: 219.7 kB / 1.389 GB, free: 2.496 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002761/0.4179, allocations: 79.36 kB / 1.389 GB, free: 2.418 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.4181, allocations: 127.4 kB / 1.389 GB, free: 2.293 MB / 1.076 GB Notification: Performance of SimCode: time 1.042e-06/0.4181, allocations: 0 / 1.389 GB, free: 2.293 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04074/0.4588, allocations: 9.341 MB / 1.399 GB, free: 9.223 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.97, allocations: 14.66 kB / 1.399 GB, free: 9.211 MB / 1.092 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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: 18.82394039304927]