Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001684/0.001684, allocations: 111.3 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.00195/0.00195, 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.519/1.519, allocations: 225.6 MB / 249.4 MB, free: 3.145 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.758/2.758, allocations: 476.7 MB / 0.7629 GB, free: 15.11 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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 75.88 kB / 1.107 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8205/0.8226, allocations: 168.7 MB / 1.272 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01515/0.8378, allocations: 14.58 MB / 1.286 GB, free: 13.88 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01649/0.8543, allocations: 9.763 MB / 1.295 GB, free: 7.344 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.856, allocations: 57.75 kB / 1.295 GB, free: 7.32 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004972/0.8609, allocations: 1.729 MB / 1.297 GB, free: 6.305 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006142/0.8671, allocations: 1.584 MB / 1.299 GB, free: 5.359 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002796/0.8699, allocations: 0.7684 MB / 1.299 GB, free: 4.957 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004667/0.8745, allocations: 2.51 MB / 1.302 GB, free: 3.797 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002329/0.8769, allocations: 1 MB / 1.303 GB, free: 3.258 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002414/0.8793, allocations: 1.064 MB / 1.304 GB, free: 2.816 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003259/0.8825, allocations: 1.214 MB / 1.305 GB, free: 2.32 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008027/0.8833, allocations: 165.1 kB / 1.305 GB, free: 2.32 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002611/0.886, allocations: 0.8044 MB / 1.306 GB, free: 2.09 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001384/0.8873, allocations: 0.631 MB / 1.307 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00265/0.89, allocations: 0.9446 MB / 1.307 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00549/0.8955, allocations: 2.769 MB / 1.31 GB, free: 244 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.8955, allocations: 0 / 1.31 GB, free: 244 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8955, allocations: 1.031 kB / 1.31 GB, free: 244 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.438e-05/0.8956, allocations: 4 kB / 1.31 GB, free: 240 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.006127/0.9017, allocations: 2.189 MB / 1.312 GB, free: 14.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.9018, allocations: 9.688 kB / 1.312 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004672/0.9022, allocations: 193.4 kB / 1.313 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/0.9146, allocations: 2.095 MB / 1.315 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003635/0.9182, allocations: 1.306 MB / 1.316 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.9184, allocations: 87.12 kB / 1.316 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005822/0.9189, allocations: 121.5 kB / 1.316 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007479/0.9264, allocations: 2.677 MB / 1.319 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.878e-05/0.9265, allocations: 12.41 kB / 1.319 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002588/0.9267, allocations: 50.64 kB / 1.319 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000681/0.9274, allocations: 183.9 kB / 1.319 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008712/0.9361, allocations: 2.801 MB / 1.322 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01841/0.9545, allocations: 10.47 MB / 1.332 GB, free: 4.711 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007558/0.9621, allocations: 2.442 MB / 1.334 GB, free: 3.625 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0034/0.9655, allocations: 1.222 MB / 1.335 GB, free: 3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.995e-05/0.9656, allocations: 9.844 kB / 1.335 GB, free: 3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.9656, allocations: 39.12 kB / 1.335 GB, free: 2.953 MB / 1.029 GB Notification: Performance of pre-optimization done (n=89): time 2.504e-06/0.9656, allocations: 1.25 kB / 1.335 GB, free: 2.953 MB / 1.029 GB Notification: Performance of matching and sorting (n=131): time 0.05015/1.016, allocations: 13.36 MB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/1.016, allocations: 65.44 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/1.018, allocations: 1.122 MB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001884/1.018, allocations: 46.55 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006258/1.019, allocations: 0.7292 MB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005592/1.019, allocations: 480.5 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006083/1.02, allocations: 262.4 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001804/1.02, allocations: 364.9 kB / 1.351 GB, free: 9.711 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003618/1.023, allocations: 1.334 MB / 1.353 GB, free: 9.027 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003866/1.027, allocations: 1.602 MB / 1.354 GB, free: 8.023 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007575/1.035, allocations: 2.992 MB / 1.357 GB, free: 6.297 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.934e-06/1.035, allocations: 2.438 kB / 1.357 GB, free: 6.297 MB / 1.045 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01268/1.048, allocations: 4.406 MB / 1.362 GB, free: 3.863 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/1.048, allocations: 9.094 kB / 1.362 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/1.048, allocations: 7.031 kB / 1.362 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005603/1.053, allocations: 1.437 MB / 1.363 GB, free: 3.074 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/1.055, allocations: 435.6 kB / 1.363 GB, free: 2.906 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0324/1.088, allocations: 26.69 MB / 1.389 GB, free: 9.039 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00299/1.091, allocations: 299.5 kB / 1.39 GB, free: 8.746 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003162/1.091, allocations: 71.94 kB / 1.39 GB, free: 8.676 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001125/1.092, allocations: 434.9 kB / 1.39 GB, free: 8.242 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004807/1.093, allocations: 171 kB / 1.39 GB, free: 8.074 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/1.106, allocations: 4.414 MB / 1.395 GB, free: 3.609 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/1.106, allocations: 12 kB / 1.395 GB, free: 3.598 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.78e-05/1.106, allocations: 12 kB / 1.395 GB, free: 3.586 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.778e-05/1.106, allocations: 7.969 kB / 1.395 GB, free: 3.578 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01699/1.123, allocations: 6.72 MB / 1.401 GB, free: 12.69 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/1.123, allocations: 4 kB / 1.401 GB, free: 12.68 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00198/1.125, allocations: 379.7 kB / 1.402 GB, free: 12.31 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005157/1.13, allocations: 1.307 MB / 1.403 GB, free: 10.96 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002461/1.13, allocations: 35.97 kB / 1.403 GB, free: 10.93 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0292/1.159, allocations: 25.52 MB / 1.428 GB, free: 15.58 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.159, allocations: 4.031 kB / 1.428 GB, free: 15.58 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/1.171, allocations: 4.168 MB / 1.432 GB, free: 11.32 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/1.172, allocations: 463.8 kB / 1.432 GB, free: 10.84 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000525/1.173, allocations: 27.98 kB / 1.432 GB, free: 10.82 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002571/1.175, allocations: 299.5 kB / 1.433 GB, free: 10.52 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004925/1.176, allocations: 132.7 kB / 1.433 GB, free: 10.39 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001801/1.176, allocations: 47.97 kB / 1.433 GB, free: 10.35 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001476/1.178, allocations: 0.7526 MB / 1.434 GB, free: 9.594 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/1.178, allocations: 0 / 1.434 GB, free: 9.594 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003109/1.181, allocations: 0.5664 MB / 1.434 GB, free: 9.027 MB / 1.123 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01246/1.193, allocations: 4.76 MB / 1.439 GB, free: 4.164 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01207/1.205, allocations: 4.966 MB / 1.444 GB, free: 15.02 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.205, allocations: 0 / 1.444 GB, free: 15.02 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.007428/1.213, allocations: 3.421 MB / 1.447 GB, free: 11.43 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00274/1.215, allocations: 0.5509 MB / 1.448 GB, free: 10.9 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04663/1.262, allocations: 19.35 MB / 1.466 GB, free: 7.102 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00185/1.264, allocations: 1.481 MB / 1.468 GB, free: 5.586 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001886/1.266, allocations: 425.6 kB / 1.468 GB, free: 5.164 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/1.267, allocations: 0.6281 MB / 1.469 GB, free: 4.535 MB / 1.154 GB Notification: Performance of SimCode: time 9.42e-07/1.267, allocations: 0 / 1.469 GB, free: 4.535 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.128/1.395, allocations: 52.46 MB / 1.52 GB, free: 0.6602 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.67/20.06, allocations: 5.812 kB / 1.52 GB, free: 0.6562 MB / 1.201 GB " [Timeout remaining time 280] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.09727842101711]