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.001644/0.001644, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001758/0.001758, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.43/1.43, allocations: 230.6 MB / 256 MB, free: 7.973 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.062/3.062, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 177] 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.001977/0.001977, allocations: 72.19 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3662, allocations: 180.2 MB / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006592/0.3728, allocations: 4.436 MB / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004113/0.3769, allocations: 2.49 MB / 1.36 GB, free: 1.488 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.3772, allocations: 23.75 kB / 1.36 GB, free: 1.465 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.3783, allocations: 389.5 kB / 1.36 GB, free: 1.086 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0008708/0.3792, allocations: 386.2 kB / 1.36 GB, free: 0.707 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008018/0.38, allocations: 323.1 kB / 1.361 GB, free: 400 kB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0009255/0.3809, allocations: 0.687 MB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.3814, allocations: 235.5 kB / 1.362 GB, free: 15.47 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004918/0.3818, allocations: 263 kB / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004447/0.3823, allocations: 286.8 kB / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.496e-05/0.3823, allocations: 32 kB / 1.362 GB, free: 14.9 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007937/0.3831, allocations: 443 kB / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.3833, allocations: 155.5 kB / 1.363 GB, free: 14.31 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002421/0.3836, allocations: 230.8 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.3846, allocations: 0.7354 MB / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.3846, allocations: 3.984 kB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.275e-06/0.3846, allocations: 0 / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.3846, allocations: 0 / 1.364 GB, free: 13.34 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.001262/0.3859, allocations: 0.7265 MB / 1.364 GB, free: 12.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3859, allocations: 8.031 kB / 1.364 GB, free: 12.58 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.386, allocations: 90.62 kB / 1.364 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.3874, allocations: 184.4 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006573/0.388, allocations: 377.6 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.3881, allocations: 29.36 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.611e-05/0.3881, allocations: 28.38 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009138/0.389, allocations: 0.6585 MB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.3891, allocations: 3.938 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/0.3891, allocations: 23.98 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-05/0.3892, allocations: 47.97 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007545/0.3899, allocations: 0.4915 MB / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003705/0.3937, allocations: 3.756 MB / 1.37 GB, free: 6.523 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.3953, allocations: 0.5932 MB / 1.37 GB, free: 5.902 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.3956, allocations: 170.4 kB / 1.371 GB, free: 5.727 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.3956, allocations: 4 kB / 1.371 GB, free: 5.723 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.3956, allocations: 38.56 kB / 1.371 GB, free: 5.676 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 2.174e-06/0.3956, allocations: 0 / 1.371 GB, free: 5.676 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.002223/0.3979, allocations: 1.065 MB / 1.372 GB, free: 4.594 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.3979, allocations: 106.8 kB / 1.372 GB, free: 4.465 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004339/0.3984, allocations: 401.8 kB / 1.372 GB, free: 4.059 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.3984, allocations: 33.7 kB / 1.372 GB, free: 4.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.3986, allocations: 284.2 kB / 1.373 GB, free: 3.738 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.3987, allocations: 130.9 kB / 1.373 GB, free: 3.609 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.3989, allocations: 98.25 kB / 1.373 GB, free: 3.508 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.399, allocations: 358.8 kB / 1.373 GB, free: 3.148 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.3993, allocations: 173.2 kB / 1.373 GB, free: 2.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/0.3997, allocations: 372.4 kB / 1.374 GB, free: 2.523 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007502/0.4005, allocations: 0.6029 MB / 1.374 GB, free: 1.828 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4005, allocations: 0 / 1.374 GB, free: 1.828 MB / 1.061 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001103/0.4016, allocations: 0.6755 MB / 1.375 GB, free: 1.137 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.4016, allocations: 13.59 kB / 1.375 GB, free: 1.125 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.4016, allocations: 4 kB / 1.375 GB, free: 1.121 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003572/0.402, allocations: 102.4 kB / 1.375 GB, free: 1.012 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.4023, allocations: 115.8 kB / 1.375 GB, free: 0.8984 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003582/0.4059, allocations: 4.034 MB / 1.379 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.4063, allocations: 27.98 kB / 1.379 GB, free: 12.49 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/0.4063, allocations: 27.98 kB / 1.379 GB, free: 12.46 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.0002596/0.4066, allocations: 197.5 kB / 1.379 GB, free: 12.26 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.4067, allocations: 55.7 kB / 1.379 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009357/0.4076, allocations: 0.5228 MB / 1.38 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4076, allocations: 4 kB / 1.38 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.4076, allocations: 0 / 1.38 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4076, allocations: 0 / 1.38 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.4095, allocations: 1.255 MB / 1.381 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.4096, allocations: 4 kB / 1.381 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.4098, allocations: 63.89 kB / 1.381 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002628/0.4101, allocations: 94.72 kB / 1.381 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.4101, allocations: 8 kB / 1.381 GB, free: 10.15 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003454/0.4135, allocations: 4.034 MB / 1.385 GB, free: 5.77 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.4135, allocations: 7.969 kB / 1.385 GB, free: 5.762 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009699/0.4145, allocations: 0.7825 MB / 1.386 GB, free: 4.922 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.4147, allocations: 75.67 kB / 1.386 GB, free: 4.848 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/0.4148, allocations: 12 kB / 1.386 GB, free: 4.836 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/0.4151, allocations: 23.97 kB / 1.386 GB, free: 4.812 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.4151, allocations: 39.83 kB / 1.386 GB, free: 4.773 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.4152, allocations: 12 kB / 1.386 GB, free: 4.762 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000311/0.4155, allocations: 279.1 kB / 1.386 GB, free: 4.496 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4155, allocations: 0 / 1.386 GB, free: 4.496 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006672/0.4161, allocations: 120 kB / 1.386 GB, free: 4.379 MB / 1.076 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.001305/0.4174, allocations: 1.335 MB / 1.388 GB, free: 2.977 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.4187, allocations: 0.7821 MB / 1.389 GB, free: 2.156 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4187, allocations: 0 / 1.389 GB, free: 2.156 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007698/0.4195, allocations: 0.5352 MB / 1.389 GB, free: 1.582 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.4205, allocations: 140.7 kB / 1.389 GB, free: 1.453 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005949/0.4264, allocations: 4.557 MB / 1.394 GB, free: 12.55 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005249/0.427, allocations: 0.8664 MB / 1.394 GB, free: 11.65 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000274/0.4272, allocations: 100.5 kB / 1.395 GB, free: 11.55 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.4275, allocations: 155.4 kB / 1.395 GB, free: 11.4 MB / 1.092 GB Notification: Performance of SimCode: time 6.51e-07/0.4275, allocations: 0 / 1.395 GB, free: 11.4 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.351/1.778, allocations: 10.48 MB / 1.405 GB, free: 1.133 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/16.64, allocations: 8.062 kB / 1.405 GB, free: 1.125 MB / 1.092 GB " [Timeout remaining time 283] (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: 26.48657916416414]