Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.001361/0.001361, allocations: 114.7 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.001371/0.001371, allocations: 186 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.446/1.446, allocations: 225.6 MB / 249.4 MB, free: 3.156 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.824/2.824, allocations: 476.7 MB / 0.7629 GB, free: 15.15 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.VariableImpedance,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 67.89 kB / 1.107 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8868/0.8888, allocations: 168.7 MB / 1.272 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.00541/0.8942, allocations: 3.865 MB / 1.275 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002925/0.8972, allocations: 1.852 MB / 1.277 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004048/0.8976, allocations: 18.09 kB / 1.277 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008949/0.8985, allocations: 263.8 kB / 1.277 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008334/0.8993, allocations: 315.8 kB / 1.278 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006243/0.8999, allocations: 253.1 kB / 1.278 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000721/0.9007, allocations: 0.6044 MB / 1.278 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003729/0.901, allocations: 196.8 kB / 1.279 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003954/0.9014, allocations: 237.5 kB / 1.279 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003657/0.9018, allocations: 242.2 kB / 1.279 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.788e-05/0.9018, allocations: 26.41 kB / 1.279 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000603/0.9024, allocations: 286.4 kB / 1.279 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.9026, allocations: 134.4 kB / 1.28 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.9028, allocations: 210.3 kB / 1.28 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.9038, allocations: 0.5918 MB / 1.28 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.9038, allocations: 0 / 1.28 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9038, allocations: 0.5 kB / 1.28 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.9039, allocations: 0.6875 kB / 1.28 GB, free: 2.148 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001253/0.9051, allocations: 0.7406 MB / 1.281 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.9052, allocations: 10.95 kB / 1.281 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.329e-05/0.9052, allocations: 74.34 kB / 1.281 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009668/0.9062, allocations: 136.9 kB / 1.281 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005515/0.9068, allocations: 414.8 kB / 1.282 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.9068, allocations: 21.66 kB / 1.282 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.225e-05/0.9069, allocations: 30.92 kB / 1.282 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000858/0.9077, allocations: 0.5566 MB / 1.282 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.9077, allocations: 7.938 kB / 1.282 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.9078, allocations: 12.91 kB / 1.282 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.781e-05/0.9078, allocations: 41.92 kB / 1.282 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007222/0.9086, allocations: 407.4 kB / 1.283 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003333/0.9119, allocations: 3.336 MB / 1.286 GB, free: 13.66 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007593/0.9127, allocations: 313.2 kB / 1.286 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003264/0.913, allocations: 161.2 kB / 1.286 GB, free: 13.48 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.913, allocations: 11.22 kB / 1.286 GB, free: 13.47 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.913, allocations: 32.09 kB / 1.286 GB, free: 13.43 MB / 1.014 GB Notification: Performance of pre-optimization done (n=26): time 1.833e-06/0.913, allocations: 0 / 1.286 GB, free: 13.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=27): time 0.00234/0.9154, allocations: 1.075 MB / 1.288 GB, free: 12.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.9154, allocations: 61.55 kB / 1.288 GB, free: 12.74 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003888/0.9158, allocations: 337.1 kB / 1.288 GB, free: 12.56 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.9159, allocations: 31.45 kB / 1.288 GB, free: 12.52 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.9161, allocations: 251.9 kB / 1.288 GB, free: 12.31 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.282e-05/0.9162, allocations: 101.6 kB / 1.288 GB, free: 12.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.9163, allocations: 77.72 kB / 1.288 GB, free: 12.19 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.9165, allocations: 346.9 kB / 1.289 GB, free: 11.86 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.9168, allocations: 147.7 kB / 1.289 GB, free: 11.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.9172, allocations: 294.8 kB / 1.289 GB, free: 11.58 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007524/0.9179, allocations: 477.5 kB / 1.29 GB, free: 11.26 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.9179, allocations: 2.75 kB / 1.29 GB, free: 11.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001209/0.9191, allocations: 0.5624 MB / 1.29 GB, free: 11.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.9192, allocations: 7.125 kB / 1.29 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/0.9192, allocations: 11.88 kB / 1.29 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003664/0.9196, allocations: 88.11 kB / 1.29 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/0.9199, allocations: 88.31 kB / 1.29 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.92, allocations: 11.66 kB / 1.29 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.9203, allocations: 29.31 kB / 1.29 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.9203, allocations: 18.34 kB / 1.29 GB, free: 10.95 MB / 1.014 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.0002792/0.9206, allocations: 177.4 kB / 1.291 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.093e-05/0.9207, allocations: 39.39 kB / 1.291 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.9218, allocations: 472.9 kB / 1.291 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.9218, allocations: 4.281 kB / 1.291 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.9218, allocations: 4 kB / 1.291 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.9218, allocations: 1.406 kB / 1.291 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.9235, allocations: 0.9496 MB / 1.292 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.9235, allocations: 0.7969 kB / 1.292 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.9238, allocations: 55.17 kB / 1.292 GB, free: 9.992 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003001/0.9241, allocations: 81.69 kB / 1.292 GB, free: 9.953 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.9241, allocations: 6.938 kB / 1.292 GB, free: 9.949 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.9241, allocations: 2.406 kB / 1.292 GB, free: 9.949 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.9241, allocations: 5.156 kB / 1.292 GB, free: 9.945 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009936/0.9251, allocations: 0.5428 MB / 1.293 GB, free: 9.629 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.9253, allocations: 144.1 kB / 1.293 GB, free: 9.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.417e-05/0.9254, allocations: 4.391 kB / 1.293 GB, free: 9.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.9256, allocations: 28.39 kB / 1.293 GB, free: 9.488 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.409e-05/0.9257, allocations: 27.11 kB / 1.293 GB, free: 9.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.9257, allocations: 11 kB / 1.293 GB, free: 9.477 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002682/0.926, allocations: 237.6 kB / 1.293 GB, free: 9.348 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.926, allocations: 0 / 1.293 GB, free: 9.348 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004583/0.9265, allocations: 85.86 kB / 1.293 GB, free: 9.34 MB / 1.014 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.001291/0.9277, allocations: 1.093 MB / 1.294 GB, free: 8.484 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.9288, allocations: 0.618 MB / 1.295 GB, free: 8.062 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.9288, allocations: 0 / 1.295 GB, free: 8.062 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006235/0.9294, allocations: 422.5 kB / 1.295 GB, free: 7.707 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008252/0.9302, allocations: 132.2 kB / 1.295 GB, free: 7.66 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006049/0.9363, allocations: 3.758 MB / 1.299 GB, free: 5.191 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/0.9368, allocations: 0.831 MB / 1.3 GB, free: 4.477 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000315/0.9372, allocations: 80.06 kB / 1.3 GB, free: 4.461 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.9374, allocations: 128.3 kB / 1.3 GB, free: 4.371 MB / 1.014 GB Notification: Performance of SimCode: time 6.92e-07/0.9374, allocations: 0 / 1.3 GB, free: 4.371 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03608/0.9734, allocations: 8.349 MB / 1.308 GB, free: 3.566 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/11.24, allocations: 3.875 kB / 1.308 GB, free: 3.566 MB / 1.014 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 17.318447027006187]