Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.00131/0.00131, 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.001425/0.001425, allocations: 211.8 kB / 22.24 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.996 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.242/3.242, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.002032/0.002032, allocations: 70.08 kB / 1.186 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3692, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006765/0.376, allocations: 4.152 MB / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004345/0.3803, allocations: 2.33 MB / 1.37 GB, free: 7.586 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004328/0.3807, allocations: 23.75 kB / 1.37 GB, free: 7.562 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.3821, allocations: 372.9 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.3832, allocations: 382.2 kB / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008965/0.3841, allocations: 319.2 kB / 1.371 GB, free: 6.512 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009182/0.385, allocations: 0.6791 MB / 1.371 GB, free: 5.828 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004054/0.3854, allocations: 234.3 kB / 1.372 GB, free: 5.594 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003926/0.3858, allocations: 267 kB / 1.372 GB, free: 5.332 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004094/0.3862, allocations: 274.8 kB / 1.372 GB, free: 5.062 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.403e-05/0.3863, allocations: 28 kB / 1.372 GB, free: 5.035 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006821/0.3869, allocations: 387.1 kB / 1.373 GB, free: 4.656 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.3871, allocations: 151.5 kB / 1.373 GB, free: 4.508 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.3873, allocations: 187.1 kB / 1.373 GB, free: 4.324 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009488/0.3883, allocations: 0.7432 MB / 1.374 GB, free: 3.578 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.3883, allocations: 4 kB / 1.374 GB, free: 3.574 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3883, allocations: 4 kB / 1.374 GB, free: 3.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.3883, allocations: 0 / 1.374 GB, free: 3.57 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001209/0.3895, allocations: 0.7149 MB / 1.374 GB, free: 2.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.3895, allocations: 8.031 kB / 1.374 GB, free: 2.812 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.347e-05/0.3896, allocations: 82.69 kB / 1.374 GB, free: 2.723 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.3909, allocations: 192.3 kB / 1.375 GB, free: 2.535 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007285/0.3917, allocations: 377.6 kB / 1.375 GB, free: 2.145 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.3917, allocations: 25.36 kB / 1.375 GB, free: 2.121 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.794e-05/0.3918, allocations: 36.31 kB / 1.375 GB, free: 2.086 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.3928, allocations: 0.7377 MB / 1.376 GB, free: 1.242 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.3928, allocations: 4 kB / 1.376 GB, free: 1.238 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.431e-05/0.3928, allocations: 15.98 kB / 1.376 GB, free: 1.223 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.249e-05/0.3929, allocations: 55.91 kB / 1.376 GB, free: 1.168 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007751/0.3937, allocations: 499.3 kB / 1.376 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003431/0.3971, allocations: 3.207 MB / 1.379 GB, free: 13.33 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.3988, allocations: 0.6009 MB / 1.38 GB, free: 12.7 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.3991, allocations: 166.4 kB / 1.38 GB, free: 12.53 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.3991, allocations: 4 kB / 1.38 GB, free: 12.53 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3991, allocations: 30.56 kB / 1.38 GB, free: 12.49 MB / 1.076 GB Notification: Performance of pre-optimization done (n=30): time 2.404e-06/0.3991, allocations: 8 kB / 1.38 GB, free: 12.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.002402/0.4015, allocations: 1.069 MB / 1.381 GB, free: 11.39 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/0.4016, allocations: 114.8 kB / 1.381 GB, free: 11.26 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004781/0.4021, allocations: 405.7 kB / 1.382 GB, free: 10.84 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.4021, allocations: 33.7 kB / 1.382 GB, free: 10.8 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.4024, allocations: 296.3 kB / 1.382 GB, free: 10.51 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.4025, allocations: 119 kB / 1.382 GB, free: 10.39 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.4026, allocations: 102.2 kB / 1.382 GB, free: 10.29 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.4028, allocations: 354.8 kB / 1.383 GB, free: 9.934 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.4031, allocations: 173.2 kB / 1.383 GB, free: 9.762 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/0.4035, allocations: 380.1 kB / 1.383 GB, free: 9.301 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007635/0.4043, allocations: 0.5911 MB / 1.384 GB, free: 8.617 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4043, allocations: 0 / 1.384 GB, free: 8.617 MB / 1.076 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001114/0.4054, allocations: 0.6833 MB / 1.384 GB, free: 7.918 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.4054, allocations: 8 kB / 1.384 GB, free: 7.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.4054, allocations: 8 kB / 1.384 GB, free: 7.902 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003548/0.4058, allocations: 98.39 kB / 1.384 GB, free: 7.797 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/0.4062, allocations: 111.8 kB / 1.385 GB, free: 7.688 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003593/0.4097, allocations: 4.03 MB / 1.389 GB, free: 3.316 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/0.4101, allocations: 27.97 kB / 1.389 GB, free: 3.289 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.4101, allocations: 24.94 kB / 1.389 GB, free: 3.266 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0002627/0.4104, allocations: 197.6 kB / 1.389 GB, free: 3.062 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.4105, allocations: 47.72 kB / 1.389 GB, free: 3.016 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009352/0.4115, allocations: 0.5224 MB / 1.389 GB, free: 2.48 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.4115, allocations: 4 kB / 1.389 GB, free: 2.477 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.4115, allocations: 4.062 kB / 1.389 GB, free: 2.473 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4115, allocations: 4 kB / 1.389 GB, free: 2.469 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.4134, allocations: 1.204 MB / 1.391 GB, free: 1.176 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.4134, allocations: 3.938 kB / 1.391 GB, free: 1.172 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.4136, allocations: 63.89 kB / 1.391 GB, free: 1.109 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002749/0.4139, allocations: 94.78 kB / 1.391 GB, free: 1.008 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.4139, allocations: 8.281 kB / 1.391 GB, free: 1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003445/0.4173, allocations: 4.022 MB / 1.395 GB, free: 12.63 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.4173, allocations: 4 kB / 1.395 GB, free: 12.63 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009729/0.4183, allocations: 0.7821 MB / 1.395 GB, free: 11.79 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.4185, allocations: 79.88 kB / 1.395 GB, free: 11.71 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/0.4186, allocations: 16 kB / 1.395 GB, free: 11.7 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/0.4189, allocations: 19.97 kB / 1.395 GB, free: 11.68 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.432e-05/0.419, allocations: 39.83 kB / 1.396 GB, free: 11.64 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.419, allocations: 12 kB / 1.396 GB, free: 11.62 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003219/0.4193, allocations: 275.1 kB / 1.396 GB, free: 11.36 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.4193, allocations: 4 kB / 1.396 GB, free: 11.36 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006827/0.42, allocations: 124 kB / 1.396 GB, free: 11.23 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.00127/0.4213, allocations: 1.331 MB / 1.397 GB, free: 9.836 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001294/0.4226, allocations: 0.779 MB / 1.398 GB, free: 9.02 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4226, allocations: 0 / 1.398 GB, free: 9.02 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0007433/0.4233, allocations: 0.5318 MB / 1.398 GB, free: 8.449 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008895/0.4242, allocations: 148.6 kB / 1.399 GB, free: 8.309 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005926/0.4301, allocations: 4.558 MB / 1.403 GB, free: 3.406 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.4304, allocations: 264.2 kB / 1.403 GB, free: 3.129 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002949/0.4307, allocations: 104.4 kB / 1.403 GB, free: 3.027 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.4309, allocations: 155.4 kB / 1.404 GB, free: 2.875 MB / 1.092 GB Notification: Performance of SimCode: time 7.41e-07/0.4309, allocations: 0 / 1.404 GB, free: 2.875 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05998/0.4909, allocations: 11.08 MB / 1.414 GB, free: 8.055 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.12, allocations: 3.141 kB / 1.414 GB, free: 8.055 MB / 1.107 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.882587905973196]