Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.0008557/0.0008557, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007938/0.0007938, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8324/0.8324, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.582/1.582, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.9505 GB, free: 2.363 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.253e-05/1.386e-05, allocations: 2.281 kB / 0.9505 GB, free: 2.359 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003979/0.003993, allocations: 4.569 MB / 0.955 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.002171/0.006163, allocations: 2.385 MB / 0.9573 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.006328, allocations: 31.69 kB / 0.9573 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006262/0.006954, allocations: 401.8 kB / 0.9577 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005003/0.007455, allocations: 485.1 kB / 0.9582 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.007835, allocations: 384.4 kB / 0.9585 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0005672/0.008402, allocations: 0.9447 MB / 0.9595 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.008726, allocations: 318.4 kB / 0.9598 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004959/0.009222, allocations: 490.7 kB / 0.9602 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.009487, allocations: 311 kB / 0.9605 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 3.785e-05/0.009525, allocations: 39.94 kB / 0.9606 GB, free: 8 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.009828, allocations: 363 kB / 0.9609 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.009947, allocations: 195.3 kB / 0.9611 GB, free: 7.453 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.01008, allocations: 211.5 kB / 0.9613 GB, free: 7.246 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005731/0.01065, allocations: 0.9032 MB / 0.9622 GB, free: 6.34 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.01065, allocations: 0 / 0.9622 GB, free: 6.34 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.32e-07/0.01065, allocations: 0 / 0.9622 GB, free: 6.34 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.01066, allocations: 0 / 0.9622 GB, free: 6.34 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0007978/0.01146, allocations: 0.8857 MB / 0.963 GB, free: 5.422 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.01149, allocations: 12.03 kB / 0.9631 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.382e-05/0.01156, allocations: 86.7 kB / 0.9631 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006284/0.01218, allocations: 208.3 kB / 0.9633 GB, free: 5.113 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004794/0.01266, allocations: 488 kB / 0.9638 GB, free: 4.609 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.01268, allocations: 37.34 kB / 0.9638 GB, free: 4.574 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.01273, allocations: 44.38 kB / 0.9639 GB, free: 4.531 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006838/0.01342, allocations: 0.974 MB / 0.9648 GB, free: 3.395 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.01343, allocations: 8.125 kB / 0.9648 GB, free: 3.387 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.01347, allocations: 28.11 kB / 0.9649 GB, free: 3.359 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-05/0.01352, allocations: 68.95 kB / 0.9649 GB, free: 3.293 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005269/0.01405, allocations: 0.5695 MB / 0.9655 GB, free: 2.723 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/0.0164, allocations: 4.689 MB / 0.9701 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/0.0168, allocations: 422.2 kB / 0.9705 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.01699, allocations: 208.7 kB / 0.9707 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.01701, allocations: 4 kB / 0.9707 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.01703, allocations: 38.56 kB / 0.9707 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=32): time 1.402e-06/0.01703, allocations: 0 / 0.9707 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.001359/0.01839, allocations: 1.131 MB / 0.9718 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.01841, allocations: 59.62 kB / 0.9719 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.01873, allocations: 0.5028 MB / 0.9724 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.01875, allocations: 33.7 kB / 0.9724 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.01891, allocations: 363.7 kB / 0.9727 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.61e-05/0.01896, allocations: 119 kB / 0.9729 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.203e-05/0.01906, allocations: 110.2 kB / 0.973 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.252e-05/0.01915, allocations: 366.8 kB / 0.9733 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.01933, allocations: 193.2 kB / 0.9735 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004793/0.01981, allocations: 451.3 kB / 0.9739 GB, free: 9.68 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/0.02031, allocations: 0.6919 MB / 0.9746 GB, free: 8.871 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.02032, allocations: 0 / 0.9746 GB, free: 8.871 MB / 0.8855 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007329/0.02105, allocations: 0.8102 MB / 0.9754 GB, free: 8.039 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.02106, allocations: 8 kB / 0.9754 GB, free: 8.031 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.02107, allocations: 8 kB / 0.9754 GB, free: 8.023 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002619/0.02133, allocations: 160.1 kB / 0.9756 GB, free: 7.852 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.02156, allocations: 123.7 kB / 0.9757 GB, free: 7.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.0233, allocations: 4.033 MB / 0.9796 GB, free: 3.352 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.02346, allocations: 32.34 kB / 0.9796 GB, free: 3.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.02349, allocations: 32 kB / 0.9797 GB, free: 3.289 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.0001474/0.02363, allocations: 215.1 kB / 0.9799 GB, free: 3.07 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.74e-05/0.02368, allocations: 63.62 kB / 0.9799 GB, free: 3.008 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006802/0.02436, allocations: 0.5891 MB / 0.9805 GB, free: 2.398 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.02436, allocations: 7.984 kB / 0.9805 GB, free: 2.391 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.02437, allocations: 0 / 0.9805 GB, free: 2.391 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.02437, allocations: 4 kB / 0.9805 GB, free: 2.387 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000991/0.02536, allocations: 1.178 MB / 0.9817 GB, free: 1.121 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.02536, allocations: 4 kB / 0.9817 GB, free: 1.117 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.02548, allocations: 55.89 kB / 0.9817 GB, free: 1.062 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001979/0.02568, allocations: 144.3 kB / 0.9819 GB, free: 0.9062 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.02569, allocations: 11.98 kB / 0.9819 GB, free: 0.8945 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.02729, allocations: 4.01 MB / 0.9858 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.0273, allocations: 3.938 kB / 0.9858 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005616/0.02786, allocations: 0.7045 MB / 0.9865 GB, free: 11.78 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.02797, allocations: 99.77 kB / 0.9866 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.028, allocations: 15.98 kB / 0.9866 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.02813, allocations: 23.91 kB / 0.9866 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.02817, allocations: 27.95 kB / 0.9867 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.02818, allocations: 8 kB / 0.9867 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002066/0.02839, allocations: 338.8 kB / 0.987 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.02839, allocations: 0 / 0.987 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003456/0.02873, allocations: 144 kB / 0.9871 GB, free: 11.14 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.0008601/0.02959, allocations: 1.253 MB / 0.9883 GB, free: 9.82 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007348/0.03033, allocations: 0.8584 MB / 0.9892 GB, free: 8.918 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.03033, allocations: 0 / 0.9892 GB, free: 8.918 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003744/0.0307, allocations: 0.5724 MB / 0.9897 GB, free: 8.301 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005339/0.03124, allocations: 207.6 kB / 0.9899 GB, free: 8.109 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003747/0.03498, allocations: 5.095 MB / 0.9949 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.03515, allocations: 307.6 kB / 0.9952 GB, free: 2.293 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000171/0.03532, allocations: 113.3 kB / 0.9953 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.03548, allocations: 196.4 kB / 0.9955 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of SimCode: time 5.61e-07/0.03548, allocations: 0 / 0.9955 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.06161, allocations: 14.28 MB / 1.009 GB, free: 4.102 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.924/6.985, allocations: 7.188 kB / 1.009 GB, free: 4.098 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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: 10.597180590964854]