Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.001371/0.001371, allocations: 119.5 kB / 17.17 MB, free: 5.977 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.001512/0.001512, allocations: 205.5 kB / 20.13 MB, free: 3.039 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.536/1.536, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.898/2.898, allocations: 476.7 MB / 0.7678 GB, free: 9.395 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="cs",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.003127/0.003127, allocations: 67.89 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.026, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0469/1.073, allocations: 33.86 MB / 1.312 GB, free: 4.746 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03095/1.104, allocations: 15 MB / 1.327 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005866/1.11, allocations: 207 kB / 1.327 GB, free: 10.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01169/1.122, allocations: 3.712 MB / 1.33 GB, free: 8.059 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01487/1.136, allocations: 2.998 MB / 1.333 GB, free: 6.008 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.009529/1.146, allocations: 2.328 MB / 1.336 GB, free: 4.105 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01689/1.163, allocations: 8.804 MB / 1.344 GB, free: 15.11 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01711/1.18, allocations: 7.222 MB / 1.351 GB, free: 11.49 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01074/1.191, allocations: 4.073 MB / 1.355 GB, free: 9.25 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009925/1.201, allocations: 4.264 MB / 1.359 GB, free: 6.582 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.003935/1.205, allocations: 0.7168 MB / 1.36 GB, free: 6.582 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007225/1.212, allocations: 1.748 MB / 1.362 GB, free: 6.016 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.006086/1.218, allocations: 2.897 MB / 1.365 GB, free: 4.105 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.009538/1.227, allocations: 3.39 MB / 1.368 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0207/1.248, allocations: 11.21 MB / 1.379 GB, free: 5.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/1.248, allocations: 4 kB / 1.379 GB, free: 5.656 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.043e-06/1.248, allocations: 0 / 1.379 GB, free: 5.656 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0004577/1.249, allocations: 0 / 1.379 GB, free: 5.656 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02015/1.269, allocations: 6.134 MB / 1.385 GB, free: 15.44 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/1.269, allocations: 8.031 kB / 1.385 GB, free: 15.43 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001869/1.269, allocations: 150.2 kB / 1.385 GB, free: 15.28 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002414/1.271, allocations: 0.7193 MB / 1.386 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0078/1.279, allocations: 1.164 MB / 1.387 GB, free: 13.38 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008209/1.287, allocations: 3.545 MB / 1.39 GB, free: 9.758 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00034/1.288, allocations: 377.6 kB / 1.391 GB, free: 9.391 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001493/1.289, allocations: 491.9 kB / 1.391 GB, free: 8.91 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01566/1.305, allocations: 8.005 MB / 1.399 GB, free: 0.625 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001441/1.305, allocations: 27.78 kB / 1.399 GB, free: 0.5977 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000575/1.306, allocations: 216 kB / 1.399 GB, free: 396 kB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001168/1.307, allocations: 433.6 kB / 1.4 GB, free: 15.96 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01279/1.32, allocations: 6.085 MB / 1.406 GB, free: 9.863 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04659/1.366, allocations: 34.95 MB / 1.44 GB, free: 3.742 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003022/1.369, allocations: 1.92 MB / 1.442 GB, free: 1.82 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002611/1.372, allocations: 1.756 MB / 1.443 GB, free: 72 kB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001338/1.372, allocations: 25.92 kB / 1.443 GB, free: 44 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.943e-05/1.372, allocations: 56.64 kB / 1.443 GB, free: 15.98 MB / 1.139 GB Notification: Performance of pre-optimization done (n=171): time 3.807e-06/1.372, allocations: 0 / 1.443 GB, free: 15.98 MB / 1.139 GB Notification: Performance of matching and sorting (n=276): time 0.1601/1.532, allocations: 38.86 MB / 1.481 GB, free: 9.012 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.719e-05/1.532, allocations: 81.58 kB / 1.481 GB, free: 8.918 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004057/1.536, allocations: 2.274 MB / 1.484 GB, free: 6.629 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004575/1.537, allocations: 77.7 kB / 1.484 GB, free: 6.547 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.002024/1.539, allocations: 2.342 MB / 1.486 GB, free: 4.188 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001114/1.54, allocations: 0.9798 MB / 1.487 GB, free: 3.199 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001095/1.541, allocations: 0.5063 MB / 1.488 GB, free: 2.684 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.541, allocations: 309.1 kB / 1.488 GB, free: 2.379 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00319/1.544, allocations: 1.977 MB / 1.49 GB, free: 408 kB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003961/1.548, allocations: 2.599 MB / 1.492 GB, free: 13.56 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007516/1.556, allocations: 4.937 MB / 1.497 GB, free: 8.348 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/1.556, allocations: 4 kB / 1.497 GB, free: 8.344 MB / 1.186 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01627/1.572, allocations: 7.642 MB / 1.505 GB, free: 0.6328 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/1.572, allocations: 12 kB / 1.505 GB, free: 0.6211 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/1.572, allocations: 20.81 kB / 1.505 GB, free: 0.6016 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01029/1.582, allocations: 3.218 MB / 1.508 GB, free: 13.37 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/1.584, allocations: 399.4 kB / 1.508 GB, free: 12.98 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05215/1.636, allocations: 33.91 MB / 1.541 GB, free: 10.21 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003072/1.639, allocations: 163.8 kB / 1.541 GB, free: 10.05 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002988/1.64, allocations: 108 kB / 1.542 GB, free: 9.945 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003193/1.643, allocations: 1.797 MB / 1.543 GB, free: 8.137 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008044/1.644, allocations: 349.8 kB / 1.544 GB, free: 7.793 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01589/1.66, allocations: 7.24 MB / 1.551 GB, free: 484 kB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.72e-05/1.66, allocations: 24 kB / 1.551 GB, free: 460 kB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.01e-05/1.66, allocations: 32 kB / 1.551 GB, free: 428 kB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.198e-05/1.66, allocations: 15.94 kB / 1.551 GB, free: 412 kB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02778/1.688, allocations: 12.81 MB / 1.563 GB, free: 3.422 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/1.688, allocations: 4 kB / 1.563 GB, free: 3.418 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/1.689, allocations: 231.7 kB / 1.563 GB, free: 3.191 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009132/1.698, allocations: 2.853 MB / 1.566 GB, free: 328 kB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002747/1.698, allocations: 52 kB / 1.566 GB, free: 276 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05078/1.749, allocations: 32.69 MB / 1.598 GB, free: 14.72 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/1.749, allocations: 11.94 kB / 1.598 GB, free: 14.71 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/1.763, allocations: 6.779 MB / 1.605 GB, free: 7.719 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00217/1.765, allocations: 0.7995 MB / 1.606 GB, free: 6.898 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005675/1.766, allocations: 55.94 kB / 1.606 GB, free: 6.844 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/1.768, allocations: 171.8 kB / 1.606 GB, free: 6.676 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009351/1.769, allocations: 249.7 kB / 1.606 GB, free: 6.43 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001906/1.769, allocations: 72 kB / 1.606 GB, free: 6.359 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002558/1.771, allocations: 1.533 MB / 1.608 GB, free: 4.824 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.771, allocations: 0 / 1.608 GB, free: 4.824 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004733/1.776, allocations: 1.367 MB / 1.609 GB, free: 3.457 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01411/1.79, allocations: 7.414 MB / 1.616 GB, free: 11.82 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.01314/1.803, allocations: 6.575 MB / 1.623 GB, free: 5.156 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.691e-05/1.803, allocations: 4 kB / 1.623 GB, free: 5.152 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.009093/1.812, allocations: 4.237 MB / 1.627 GB, free: 0.832 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004962/1.817, allocations: 1.122 MB / 1.628 GB, free: 15.74 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07062/1.888, allocations: 38.95 MB / 1.666 GB, free: 7.68 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005235/1.893, allocations: 3.643 MB / 1.669 GB, free: 4.004 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.001977/1.895, allocations: 0.5633 MB / 1.67 GB, free: 3.438 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002501/1.898, allocations: 1.972 MB / 1.672 GB, free: 1.465 MB / 1.357 GB Notification: Performance of SimCode: time 1.192e-06/1.898, allocations: 3.938 kB / 1.672 GB, free: 1.461 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2212/2.119, allocations: 112.4 MB / 1.782 GB, free: 2.285 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.51/19.63, allocations: 8.688 kB / 1.782 GB, free: 2.277 MB / 1.467 GB " [Timeout remaining time 280] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 27.407281700056046]