Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 114 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 186.7 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 249.4 MB, free: 3.312 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.796/2.796, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ThreePhases,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 67.89 kB / 1.107 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8609/0.863, allocations: 168.7 MB / 1.272 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005868/0.8689, allocations: 4.436 MB / 1.276 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003711/0.8726, allocations: 2.444 MB / 1.278 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003951/0.873, allocations: 17.44 kB / 1.278 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.8741, allocations: 389.3 kB / 1.279 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.8751, allocations: 390.5 kB / 1.279 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.8762, allocations: 316.5 kB / 1.279 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00105/0.8773, allocations: 0.6843 MB / 1.28 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004001/0.8777, allocations: 191.5 kB / 1.28 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000436/0.8781, allocations: 261.5 kB / 1.28 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000457/0.8786, allocations: 279.2 kB / 1.281 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.996e-05/0.8786, allocations: 29 kB / 1.281 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009253/0.8796, allocations: 445.4 kB / 1.281 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.8797, allocations: 148.5 kB / 1.281 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.8799, allocations: 239.1 kB / 1.281 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.881, allocations: 0.7399 MB / 1.282 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.881, allocations: 0.7031 kB / 1.282 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.724e-06/0.881, allocations: 0 / 1.282 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.881, allocations: 0 / 1.282 GB, free: 1.203 MB / 0.9981 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.001125/0.8821, allocations: 0.7974 MB / 1.283 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.8822, allocations: 9.125 kB / 1.283 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.102e-05/0.8822, allocations: 82 kB / 1.283 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.8836, allocations: 195.8 kB / 1.283 GB, free: 468 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00058/0.8842, allocations: 434.6 kB / 1.284 GB, free: 148 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.8842, allocations: 35.67 kB / 1.284 GB, free: 128 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.758e-05/0.8843, allocations: 29.59 kB / 1.284 GB, free: 120 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.8853, allocations: 0.6584 MB / 1.284 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.8853, allocations: 7.938 kB / 1.284 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.911e-05/0.8854, allocations: 24.8 kB / 1.284 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.403e-05/0.8855, allocations: 50.56 kB / 1.284 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008176/0.8863, allocations: 0.4889 MB / 1.285 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003909/0.8902, allocations: 3.782 MB / 1.289 GB, free: 12.1 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.892, allocations: 0.6057 MB / 1.289 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.8923, allocations: 165.3 kB / 1.289 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.8923, allocations: 6.438 kB / 1.289 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.8923, allocations: 37.48 kB / 1.289 GB, free: 11.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 2.245e-06/0.8923, allocations: 0 / 1.289 GB, free: 11.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002509/0.8948, allocations: 1.299 MB / 1.291 GB, free: 11.02 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.8949, allocations: 107.4 kB / 1.291 GB, free: 10.9 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004858/0.8954, allocations: 400.4 kB / 1.291 GB, free: 10.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.8954, allocations: 32.17 kB / 1.291 GB, free: 10.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.8957, allocations: 290.6 kB / 1.291 GB, free: 10.42 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.8958, allocations: 124.6 kB / 1.292 GB, free: 10.32 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.8959, allocations: 111 kB / 1.292 GB, free: 10.26 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.8961, allocations: 354.5 kB / 1.292 GB, free: 9.93 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.8964, allocations: 172.6 kB / 1.292 GB, free: 9.875 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/0.8968, allocations: 382.4 kB / 1.293 GB, free: 9.555 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007983/0.8976, allocations: 0.5914 MB / 1.293 GB, free: 9.117 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.8976, allocations: 3.188 kB / 1.293 GB, free: 9.117 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001179/0.8988, allocations: 0.6768 MB / 1.294 GB, free: 8.82 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.8988, allocations: 10.86 kB / 1.294 GB, free: 8.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.8988, allocations: 6.406 kB / 1.294 GB, free: 8.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003808/0.8992, allocations: 102.5 kB / 1.294 GB, free: 8.773 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.8996, allocations: 110 kB / 1.294 GB, free: 8.766 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003852/0.9034, allocations: 4.348 MB / 1.298 GB, free: 4.484 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004492/0.9039, allocations: 28.61 kB / 1.298 GB, free: 4.477 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/0.9039, allocations: 28.16 kB / 1.298 GB, free: 4.469 MB / 1.014 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.0002899/0.9042, allocations: 197.5 kB / 1.299 GB, free: 4.309 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.9043, allocations: 47.17 kB / 1.299 GB, free: 4.285 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009643/0.9053, allocations: 0.5125 MB / 1.299 GB, free: 4.051 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.9053, allocations: 9.188 kB / 1.299 GB, free: 4.047 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.9053, allocations: 2.688 kB / 1.299 GB, free: 4.047 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.9053, allocations: 2.297 kB / 1.299 GB, free: 4.047 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/0.9072, allocations: 1.28 MB / 1.3 GB, free: 3.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.9072, allocations: 2.844 kB / 1.3 GB, free: 3.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.9075, allocations: 63.45 kB / 1.3 GB, free: 3.223 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000323/0.9078, allocations: 93.61 kB / 1.3 GB, free: 3.18 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.9079, allocations: 13.73 kB / 1.3 GB, free: 3.172 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003984/0.9118, allocations: 4.339 MB / 1.305 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.9118, allocations: 11.5 kB / 1.305 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.913, allocations: 0.7794 MB / 1.305 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/0.9132, allocations: 155.9 kB / 1.306 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.349e-05/0.9132, allocations: 10.42 kB / 1.306 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.9136, allocations: 25.47 kB / 1.306 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/0.9137, allocations: 35.14 kB / 1.306 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.9137, allocations: 13.61 kB / 1.306 GB, free: 14.18 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003638/0.914, allocations: 281.8 kB / 1.306 GB, free: 14.04 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.914, allocations: 0 / 1.306 GB, free: 14.04 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007434/0.9148, allocations: 119.8 kB / 1.306 GB, free: 14.03 MB / 1.029 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.001392/0.9162, allocations: 1.326 MB / 1.307 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001578/0.9178, allocations: 0.7866 MB / 1.308 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.9178, allocations: 0 / 1.308 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008122/0.9186, allocations: 0.5379 MB / 1.309 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009997/0.9196, allocations: 143 kB / 1.309 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006573/0.9261, allocations: 4.558 MB / 1.313 GB, free: 8.941 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005748/0.9267, allocations: 0.8689 MB / 1.314 GB, free: 8.223 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000389/0.9271, allocations: 101 kB / 1.314 GB, free: 8.211 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.9273, allocations: 152.7 kB / 1.314 GB, free: 8.102 MB / 1.029 GB Notification: Performance of SimCode: time 9.32e-07/0.9273, allocations: 0 / 1.314 GB, free: 8.102 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05038/0.9777, allocations: 10.1 MB / 1.324 GB, free: 7.176 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/11.54, allocations: 10.73 kB / 1.324 GB, free: 7.172 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 17.6064707019832]