Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.0007837/0.0007837, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008217/0.0008217, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8334/0.8334, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.64/1.64, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.VariableImpedance,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.757e-05, allocations: 5.094 kB / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003295/0.003312, allocations: 3.586 MB / 0.9845 GB, free: 14.98 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.005018, allocations: 1.738 MB / 0.9862 GB, free: 13.24 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.00515, allocations: 23.75 kB / 0.9862 GB, free: 13.21 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000551/0.005701, allocations: 278.5 kB / 0.9865 GB, free: 12.94 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003589/0.00606, allocations: 322.1 kB / 0.9868 GB, free: 12.62 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.006339, allocations: 253.3 kB / 0.987 GB, free: 12.38 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004/0.006739, allocations: 0.6283 MB / 0.9876 GB, free: 11.75 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000292/0.007031, allocations: 230.6 kB / 0.9878 GB, free: 11.52 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003081/0.007339, allocations: 339 kB / 0.9882 GB, free: 11.19 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.007539, allocations: 211.3 kB / 0.9884 GB, free: 10.98 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.007568, allocations: 28 kB / 0.9884 GB, free: 10.95 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003409/0.007909, allocations: 247.3 kB / 0.9886 GB, free: 10.71 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.612e-05/0.008006, allocations: 123.6 kB / 0.9887 GB, free: 10.59 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.305e-05/0.008099, allocations: 139.7 kB / 0.9889 GB, free: 10.45 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004179/0.008516, allocations: 0.6112 MB / 0.9895 GB, free: 9.84 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.008519, allocations: 4 kB / 0.9895 GB, free: 9.836 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.21e-07/0.00852, allocations: 0 / 0.9895 GB, free: 9.836 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.008525, allocations: 0 / 0.9895 GB, free: 9.836 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0006951/0.00922, allocations: 0.6643 MB / 0.9901 GB, free: 9.141 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.009253, allocations: 8.031 kB / 0.9901 GB, free: 9.133 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.962e-05/0.009303, allocations: 70.72 kB / 0.9902 GB, free: 9.055 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004578/0.009761, allocations: 144.4 kB / 0.9903 GB, free: 8.914 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.01011, allocations: 344.6 kB / 0.9907 GB, free: 8.551 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.01012, allocations: 24.97 kB / 0.9907 GB, free: 8.523 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.01016, allocations: 32.36 kB / 0.9907 GB, free: 8.492 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000516/0.01068, allocations: 0.627 MB / 0.9913 GB, free: 7.777 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.0107, allocations: 0 / 0.9913 GB, free: 7.777 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.01072, allocations: 19.98 kB / 0.9913 GB, free: 7.758 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.085e-05/0.01076, allocations: 40.62 kB / 0.9914 GB, free: 7.719 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004135/0.01118, allocations: 410.1 kB / 0.9918 GB, free: 7.316 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.01273, allocations: 2.737 MB / 0.9945 GB, free: 4.453 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004172/0.01315, allocations: 314.4 kB / 0.9948 GB, free: 4.137 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.01332, allocations: 164.7 kB / 0.9949 GB, free: 3.973 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.01333, allocations: 4 kB / 0.9949 GB, free: 3.969 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.01335, allocations: 30.56 kB / 0.9949 GB, free: 3.93 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 1.313e-06/0.01335, allocations: 4 kB / 0.9949 GB, free: 3.926 MB / 0.948 GB Notification: Performance of matching and sorting (n=27): time 0.001245/0.0146, allocations: 0.8354 MB / 0.9958 GB, free: 3.074 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.01462, allocations: 63.58 kB / 0.9958 GB, free: 3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.01485, allocations: 345.5 kB / 0.9962 GB, free: 2.648 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.01486, allocations: 33.64 kB / 0.9962 GB, free: 2.609 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.01497, allocations: 244.1 kB / 0.9964 GB, free: 2.367 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.01501, allocations: 111.1 kB / 0.9965 GB, free: 2.258 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.098e-05/0.01508, allocations: 74.09 kB / 0.9966 GB, free: 2.18 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.167e-05/0.01517, allocations: 346.8 kB / 0.9969 GB, free: 1.832 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.01533, allocations: 148.9 kB / 0.9971 GB, free: 1.688 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.01553, allocations: 287.2 kB / 0.9973 GB, free: 1.348 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.01594, allocations: 488.8 kB / 0.9978 GB, free: 0.8086 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01594, allocations: 4 kB / 0.9978 GB, free: 0.8047 MB / 0.948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005571/0.0165, allocations: 0.5586 MB / 0.9984 GB, free: 236 kB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.01651, allocations: 12.09 kB / 0.9984 GB, free: 224 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01652, allocations: 4 kB / 0.9984 GB, free: 220 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.0167, allocations: 90.45 kB / 0.9985 GB, free: 120 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.01688, allocations: 87.88 kB / 0.9985 GB, free: 32 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.01689, allocations: 15.92 kB / 0.9986 GB, free: 16 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.01703, allocations: 24.03 kB / 0.9986 GB, free: 15.99 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.01704, allocations: 19.94 kB / 0.9986 GB, free: 15.97 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.01716, allocations: 178.3 kB / 0.9988 GB, free: 15.79 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.0172, allocations: 39.77 kB / 0.9988 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005072/0.01771, allocations: 464 kB / 0.9992 GB, free: 15.28 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.01771, allocations: 7.938 kB / 0.9993 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.01772, allocations: 7.984 kB / 0.9993 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01772, allocations: 0 / 0.9993 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008269/0.01855, allocations: 0.8954 MB / 1 GB, free: 14.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01855, allocations: 4 kB / 1 GB, free: 14.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.01867, allocations: 51.91 kB / 1 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001258/0.0188, allocations: 86.44 kB / 1 GB, free: 14.16 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.01881, allocations: 8 kB / 1 GB, free: 14.15 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.01881, allocations: 0 / 1 GB, free: 14.15 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01881, allocations: 4 kB / 1 GB, free: 14.14 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.01928, allocations: 0.5432 MB / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.138e-05/0.01936, allocations: 59.69 kB / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.01939, allocations: 8 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.01949, allocations: 19.97 kB / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.01955, allocations: 35.77 kB / 1.001 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.01956, allocations: 8 kB / 1.001 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001368/0.0197, allocations: 239.1 kB / 1.001 GB, free: 13.21 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.0197, allocations: 0 / 1.001 GB, free: 13.21 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002488/0.01994, allocations: 92 kB / 1.001 GB, free: 13.12 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007752/0.02072, allocations: 1.085 MB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004694/0.02119, allocations: 398.5 kB / 1.003 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.02119, allocations: 0 / 1.003 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.02139, allocations: 194.4 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.02181, allocations: 139.1 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.02469, allocations: 3.715 MB / 1.007 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.02482, allocations: 223.7 kB / 1.007 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001449/0.02497, allocations: 79.34 kB / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.02509, allocations: 128.5 kB / 1.007 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of SimCode: time 5.31e-07/0.02509, allocations: 0 / 1.007 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.04533, allocations: 9.447 MB / 1.016 GB, free: 13.72 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.836/6.881, allocations: 10.52 kB / 1.016 GB, free: 13.72 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.621591727249324]